#include "CentralTab_p.h"

#include "Managers/DataManager.h"

CentralTabPrivate::CentralTabPrivate() {
    q_ptr = nullptr;

    edited = false;
    carryMime = false;
}

CentralTabPrivate::~CentralTabPrivate() {
}

void CentralTabPrivate::init() {
}

QString CentralTabPrivate::setTabNameProxy(const QString &tabName) {
    return (edited ? qData->UntitledPrefix : "") + tabName;
}

QString CentralTabPrivate::updateTabNameProxy() {
    Q_Q(CentralTab);
    return q->tabText();
}

QList<QMenu *> CentralTabPrivate::menuListProxy() const {
    return {};
}
